package com.community.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author TangHaoSong Fly ChenJie HeYuHang
 * @since 2024-05-15
 */
@Data
@TableName("pay_details")
public class PayDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键，自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 出库单id
     */
    private Integer payId;

    /**
     * 仓库id
     */
    private Integer stockId;

    /**
     * 商品id
     */
    private Integer productId;

    /**
     * 数量
     */
    private BigDecimal amount;

    /**
     * 单价
     */
    private Double price;

    /**
     * 小计
     */
    private Double subTotal;


}
